<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.anhry.app.safety.util.Util"/>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>行业复核</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="<%=basePath%>/js/dbdialog/lhgdialog.js"></script>
	<script type="text/javascript" src="<%=path%>/js/table_span.js"></script>
	<script type="text/javascript" src="<%=path%>/js/check_jquery.js"></script>
	<script type="text/javascript" src="<%=path%>/js/My97DatePicker/WdatePicker.js" defer="defer"></script><base target="_self" />
	<script type="text/javascript">	
		function forwardTo(method){
	   		var objId='${apply.id}';
	   		if(method==1){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdShow.action?objId='+objId;
	   		}else if(method==2){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdWsShow.action?objId='+objId+'&cType=1';
	   		}else if(method==3){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdWsShow.action?objId='+objId+'&cType=2';
	   		}else if(method==4){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdSdShow.action?objId='+objId;
	   		}else if(method==5){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdHyShow.action?objId='+objId;
	   		}else if(method==6){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdCheckShow.action?objId='+objId+'&cType=1';
	   		}else if(method==7){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdCheckShow.action?objId='+objId+'&cType=2';
	   		}else{
	   			window.location.href='<%=basePath%>/fjpd/_fjpdPsdwShow.action?objId='+objId;
	   		}
		}
	</script>
  </head>
  
  <body onload="_w_table_lefttitle_rowspan('#mytable','1','1');">
	<div  class="body-box">
		<div class="map">
			<div class="map_con">
				您当前的位置：分级评定 &gt; 评定信息查看  &gt; 市行业复核确认结果
			</div>
		</div>
		<div id="container">
			<table border="0" cellpadding="0" cellspacing="0" class="mytable">
				<tr><td align="center"><font><b>${apply.corpName }</b></font></td></tr>
			</table>
			<div class="tab_div">
				<div class="tab"><a href="javascript:forwardTo(1);">企业自评</a></div>
				<div class="tab"><a href="javascript:forwardTo(2);">申请表</a></div>
				<div class="tab"><a href="javascript:forwardTo(3);">自评报告</a></div>
				<div class="tab"><a href="javascript:forwardTo(4);">县(市、区)、开发区行业初审结果</a></div>
				<div class="tab_on"><a href="javascript:forwardTo(5);">市行业复核确认结果</a></div>
			    <div class="tab"><a href="javascript:forwardTo(6);">县(市、区)、开发区安委会抽查</a></div>
			    <div class="tab"><a href="javascript:forwardTo(7);">市安办抽查</a></div>
			</div>
			<div class="tab_con">
				<table border="0" cellpadding="0" cellspacing="0" class="mytable">
					<tr><td align="center"><font color="red">注意： <s:if test="%{apply.applyStatus==10}">县(市、区)、开发区安委办直接确认</s:if><s:elseif test="apply.applyStatus==7">市行业确认</s:elseif> </font></td></tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" class="mytable" align="center" style="width: 80%;float: none;">
					<tr>
						<td style="text-align: center;">企业自评结果：</td>
						<td style="text-align: center;">总项数：${apply.zpHgNum+apply.zpBhgNum+apply.zpBsjNum }</td>
						<td style="text-align: center;">合格项：${apply.zpHgNum }</td>
						<td style="text-align: center;">不合格项：${apply.zpBhgNum }</td>
						<td style="text-align: center;">不涉及项：${apply.zpBsjNum }</td>
						<td style="text-align: center;">得分：${apply.zpScore }</td>
						<td style="text-align: center;">级别：${apply.zpGrade }</td>
					</tr>
					<s:if test="%{apply.sdType==1}">
						<tr>
							<td style="text-align: center;">县(市、区)、开发区行业初审结果：</td>
							<td style="text-align: center;">总项数：${apply.sdHgNum+apply.sdBhgNum+apply.sdBsjNum }</td>
							<td style="text-align: center;">合格项：${apply.sdHgNum }</td>
							<td style="text-align: center;">不合格项：${apply.sdBhgNum }</td>
							<td style="text-align: center;">不涉及项：${apply.sdBsjNum }</td>
							<td style="text-align: center;">得分：${apply.sdScore }</td>
							<td style="text-align: center;">级别：${apply.sdGrade }</td>
						</tr>
					</s:if>
					<tr>
						<td style="text-align: center;">市行业复核确认结果：</td>
						<td style="text-align: center;" colspan="6">级别：${apply.applyGrade }</td>
					</tr>
				</table>
		    	<table border="0" cellpadding="0" cellspacing="0" class="mytable" id="mytable" align="center" style="width: 80%;float: none;">
						<thead>
					    	<tr class="fixedHeaderTr">
					     		<th width="20%">类别</th>
		    					<th width="30%">审核项目</th>
		    					<th width="40%">核查结果说明</th>
								<th width="10%">评定结果</th>
					    	</tr>
				   		</thead>
					   	<tbody>
						<s:if test="%{objList.size>0}">
						  	<s:iterator id="obj" value="objList" status="x">
						  		<tr id="tr_${x.index }">
									<td align="center">${obj.parentName }</td>
									<td align="center">${obj.bzhName }</td>
									<td align="center">${obj.checkMsg }</td>
									<td align="center">
										<s:if test="%{#obj.checkAudit==1}">合格</s:if>
										<s:elseif test="%{#obj.checkAudit==2}"><font color="red">不合格</font></s:elseif>
										<s:else><font color="blue">未核查</font></s:else>
									</td>
								</tr>
						  	</s:iterator>
						  	<tr>
						  		<td colspan="4" style="color: red">
							  		注意：<br>
							  			1、有否决项或2项以上降级项的直接定为D级。<br/>
							  		    2、有降级项的下浮一个级别。
						  		</td>
						  	</tr>
						</s:if>
					</tbody>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" class="mytable" id="mytable" align="center" style="width: 80%;float: none;">
					<tr>
						<td align="left" width="35%">
							复核人员1：${apply.hyPer1}
						</td>
						<td align="left" width="35%">
							联系方式1：${apply.hyPer1Tel}
						</td>
						<td align="left" rowspan="2" valign="middle">
							复核时间：<s:date name="%{apply.hyDate}" format="yyyy-MM-dd"/>
						</td>
					</tr>	
					<tr>
						<td align="left" colspan="1">
							复核人员2：${apply.hyPer2}
						</td>
						<td align="left" colspan="1">
							联系方式2：${apply.hyPer2Tel}
						</td>
					</tr>	
				</table>
			</div>
		</div>
	</div>
  </body>
</html>
